package com.tan.yebserver.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tan.yebserver.pojo.Salary;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author laoHuang
 * @since 2021-03-02
 */

public interface SalaryMapper extends BaseMapper<Salary> {

    @Select("select *from yeb.t_salary")
    IPage<Salary> getSalaryByPage(Page<Salary> page, @Param("salary") Salary salary);
}
